package com.wyy.service;

import com.wyy.pojo.model.CommentQuery;

import java.util.Map;

/**
 * @program: gytcb
 * @author: 吴磊
 * @create: 2021-06-08 18:21
 */
public interface CommentService {

    /**
     * 获取所有的评论
     *
     * @param commentQuery
     * @return
     */
    Map<String, Object> getAllComment(CommentQuery commentQuery);


    /**
     * 通过Id删除评论
     *
     * @param commentId
     */
    void deleteCommentById(String commentId);
}
